package light.mvc.service.task.impl;

import java.util.Date;

import light.mvc.dao.BaseDaoI;
import light.mvc.model.sys.UserBO;
import light.mvc.service.task.TaskDemoServiceI;
import light.mvc.service.wxn.AccessTokenServiceI;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TaskDemoServiceImpl implements TaskDemoServiceI {

	@Autowired
	private BaseDaoI<UserBO> userDao;
	
	@Autowired
	private AccessTokenServiceI accessTokenService;

	@Override
	public void test() {
		System.out.println("定时任务执行..."+new Date());
		accessTokenService.scanFindByAppid();
		System.out.println("定时任务结束 ..."+new Date());
	}

}
